package com.lechuang.goods.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lechuang.common.model.BaseEntity;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 商品分类表
 * @TableName goods_category
 */
@TableName(value ="goods_category")
@Data
@Accessors(chain = true)
public class GoodsCategory extends BaseEntity implements Serializable {
    /**
     * 分类名称
     */
    private String name;

    /**
     * 级别
     */
    private Integer level;

    /**
     * 父级分类id
     */
    private Long parentId;

    /**
     * 排序
     */
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}